package com.example.service_acl.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

/**
 * @TableName acl_permission
 */
@Data
public class Permission implements Serializable {
    private String id;

    private String pid;

    private String name;

    private Integer type;

    private String permissionValue;

    private String path;

    private String component;

    private String icon;

    private Integer status;

    private Integer isDeleted;

    private Date gmtCreate;

    private Date gmtModified;
    @TableField(exist = false)
    private int level;
    @TableField(exist = false)
    private List<Permission> children;
    @TableField(exist = false)
    private boolean select;

    private static final long serialVersionUID = 1L;
}
